package co.edu.unal.model;

import java.awt.Graphics;

public class Rectangulo extends ObjetoCerrado {
	
	public Rectangulo(int x, int y, int w, int h) {
		super(x, y, w, h , false);
	}

	public void paint(Graphics g) {
		g.setColor(getColor());
		java.awt.Rectangle r = getBounds();
		g.drawRect(r.x, r.y, r.width, r.height);

	}
}
